package com.erlinyou.im.web.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ChatMessageVo",description = "消息体")
public class ChatMessageVo{
	@ApiModelProperty(notes = "消息ID", required = true)
	private String id;
	@ApiModelProperty(notes = "发送人", required = true)
	private Long fromId;
	@ApiModelProperty(notes = "接收人", required = true)
	private Long toId;
	@ApiModelProperty(notes = "消息类型", required = true)
	private int type;
	@ApiModelProperty(notes = "聊天类型", required = true)
	private int ctype;
	@ApiModelProperty(notes = "消息内容", required = true)
	private String content;
	@ApiModelProperty(notes = "创建时间", required = true)
	private long ct;
	@ApiModelProperty(notes = "客户端ID", required = true)
	private String clientid;
	@ApiModelProperty(notes = "是否撤回[1撤回0未撤回]", required = true)
	private int rev;
	@ApiModelProperty(notes = "是否离线消息[1离线0非离线]", required = true)
	private int off;
	@ApiModelProperty(notes = "用户头像", required = true)
	private String image;
	@ApiModelProperty(notes = "用户昵称", required = true)
	private String nickName;
	@ApiModelProperty(notes = "回复人id", required = true)
	private Long visitorId;
	
	
	public Long getVisitorId() {
		return visitorId;
	}
	public void setVisitorId(Long visitorId) {
		this.visitorId = visitorId;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public Long getFromId() {
		return fromId;
	}
	public void setFromId(Long fromId) {
		this.fromId = fromId;
	}
	public Long getToId() {
		return toId;
	}
	public void setToId(Long toId) {
		this.toId = toId;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public long getCt() {
		return ct;
	}
	public void setCt(long ct) {
		this.ct = ct;
	}
	public String getClientid() {
		return clientid;
	}
	public void setClientid(String clientid) {
		this.clientid = clientid;
	}
	public int getRev() {
		return rev;
	}
	public void setRev(int rev) {
		this.rev = rev;
	}
	public int getCtype() {
		return ctype;
	}
	public void setCtype(int ctype) {
		this.ctype = ctype;
	}
	public int getOff() {
		return off;
	}
	public void setOff(int off) {
		this.off = off;
	}
	
	
	
}
